  <%= f.error_messages %>

  <p>
    <%= f.label :name %>
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label "Gateway" %>
	<% computers = Computer.all %>
    <%= f.select(:computer_id, computers.collect {|c| [c.name, c.id] },:prompt => "Select computer", :include_blank => true)%>
  </p>
  <p>
    <%= f.label :submask %>
    <%= f.text_field :submask %>
  </p>
  <p>
    <%= f.submit 'Create' %>
  </p>